package com.myhome.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.myhome.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-09-04
 */
public interface AdminMapper extends BaseMapper<Admin> {
    List<Admin> getSearchToAdmin(Integer id, String keywords);

    //Admin selectOne(QueryWrapper<Object> eq);
}
